package com.woniuxy.commons.exception.code;

public enum CommentExceptionCode {
    COMMENT_ADD_FAIL(4001,"评价失败"),
    COMMENT_REPLAY_FAIL(4002,"商家回复失败"),
    COMMENT_DEL_FAIL(4003,"用户删除评价失败")
    ;

    private Integer code;
    private String message;

    CommentExceptionCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
